CXX=g++
CFLAGS=-g -O2 -Wall -fPIC -Wno-deprecated 

INC=-I../include
LIB=-L../lib -lreactor 
OBJS = $(addsuffix .o, $(basename $(wildcard *.cc)))

all:
	$(CXX) $(CFLAGS) -o server  server.cpp $(INC) $(LIB)
	$(CXX) $(CFLAGS) -o client  client.cpp $(INC) $(LIB)

clean:
	-rm -f *.o server client
 